package com.platform.wechat.service;

import com.platform.wechat.common.JsonBean;

/**
 * @author YP
 * @company ~~
 * @create 2021-07-28 13:28
 */
public interface OfficeService {

    /**
     * 根据主科室id查询科室
     * @return
     */
    JsonBean selectByParentId(Integer chiefofficesId);

    /**
     * @Description: 根据医院id查询科室信息
     * @Param: [hospitalId]
     * @return: com.platform.wechat.common.JsonBean
     * @Author: MaYongQiang ser
     * @Date: 2021/7/28
     * @time: 17:13
     */
    JsonBean selectInHospitalById(Integer hospitalId);

    /**
    * @Date: 2021/8/1 23:12
    * @Author: guopeixin
    * @Description:  查一个通过officesId
    */
    JsonBean selectOneByOfficesId(Integer officesId);
}
